//
//  VoiceRoomAlertViewController.swift
//  VoiceRoomBaseUIKit
//
//  Created by 朱继超 on 2022/8/30.
//
import Foundation
import UIKit

public class PresentationSegue: UIStoryboardSegue {
   override public func perform() {
       guard let destination = destination as? PresentationViewController else {
           fatalError("destination must comfirm to protocol PresentedViewType")
       }
       guard let sourceVC = source as? UIViewController else { fatalError("destination must comfirm to protocol PresentedViewType") }
       sourceVC.presentViewController(destination)
   }
}
